
import { createApp } from 'vue'

import router from './router/index'  // 路由

import App from './App.vue'  // 根组件

import './assets/reset.css'  //全局样式
//pinia
import { createPinia } from 'pinia'
//vant
import Vant from 'vant'
//element-plus
import ElementPlus from 'element-plus'
// 手机端适配
import 'amfe-flexible'


//vant样式
import 'vant/lib/index.css'
//element-plus
import 'element-plus/dist/index.css'

const pinia = createPinia()

const app = createApp(App)



app.use(Vant)
app.use(ElementPlus)
app.use(router)  //路由
app.use(pinia)  //仓库
app.mount('#app')